<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<HEAD>
     <TITLE>S, Strike</TITLE>
     <link rel="stylesheet" type="text/css" href="../../../ss/2.css" id="thecss">
     <script type="text/javascript" src="../../../scripts/csschange.js"></script>
</HEAD>

<BODY onload="readSS()">

<br>
<center>
<table border=3 cellpadding=5 cellspacing=0>
<tr>
     <td><h1 class="pagetitle">Strikethrough</h1>
         <b><a href="../../../misc/suppkey.htm">Support Key:</a></b> <br>
         S: 
         [<span class="ns">2</span>|<b><i class="fs">3</i></b>|<span class="ns">3.2</span>|<b class="s">4</b>] 
         [<b class="s">X1</b>|<span class="ns">X1.1</span>]
         [<b class="s">IE1</b>|<b><i class="fs">M2A8</i></b>|<b class="s">N3B5</b>|<b class="s">O2.1</b>]<br>
         Strike: 
         [<span class="ns"> 2 </span>|<span class="ns"> 3</span>|<b><i class="fs">3.2</i></b>|<b class="s">4</b>] 
         [<b class="s">X1</b>|<span class="ns">X1.1</span>]
         [<b class="s">IE1</b>|<b><i class="fs">M2A8</i></b>|<b class="s">N1.1</b>|<b class="s">O2.1</b>]</td>
     <td><a href="#what">What is it?</a><br>
         <a href="#attrib">Attributes</a><br>
         <a href="#example">Tag Example</a>
     </td>
     <td><a href="#model">Parent/Content Model</a><br>
         <a href="#tips">Tips &amp; Tricks</a><br>
         <a href="#peculiar">Browser Peculiarities</a></td>
</tr>
<tr><td align=center colspan=3>
<font size=2>= <span class="sitetitle">Index DOT Html</span> by <a href="../../../misc/email.htm">Brian Wilson</a> =</font>
</td></tr>
</table>

<font size=2>
     <a href="../../index.html">Main Index</a> |
     <a href="../../tree/htmltree.htm">Element Tree</a> |
     <a href="../../tagindex/a.htm">Element Index</a> |
     <a href="../../supportkey/a.htm">HTML Support History</a></font>
</center>
<hr align="center" width="25%">

<br><br>
<table border=1 cellspacing=0 cellpadding=5>
<tr><td>
<table border=0 cellspacing=0>
<tr>
   <th colspan=3 valign=bottom class="field"><big><u><b
       class="colheaders">&#160;&#160;&#160;Quick Statistics&#160;&#160;&#160;</b></u></big><br></th>
</tr>
<tr><th align=left><b class="l3heading"><a href="../stats.htm#et">End Tag:</a></b><br></th>
    <td rowspan=7>&nbsp;&nbsp;</td>
    <td><span class="magicword">Required</span></td></tr>
<tr><th align=left><b class="l3heading"><a href="../stats.htm#std">Standards Details:</a></b><br></th>
    <td>Both deprecated in HTML 4.x/XHTML 1.0, Not present in XHTML 1.1 (use CSS instead)</td></tr>
<tr><th align=left><b class="l3heading"><a href="../stats.htm#xhtm">XHTML Modules:</a></b><br></th>
    <td><b class=alert>Legacy</b></td></tr>
<tr><th align=left valign=top><b class="l3heading"><a href="../stats.htm#disp">CSS 'display' Type:</a></b><br></th>
    <td>"<b class="alert">inline</b>"</td></tr>
<tr><th align=left valign=top><b class="l3heading"><a href="../stats.htm#css">CSS Mapping:</a></b><br></th>
    <td><span class="property"><a href="../../../css/properties/text/textdec.htm">text-decoration:</a></span> line-through</td></tr>
<tr><th align=left><b class="l3heading"><a href="../stats.htm#rnd">Default Rendering:</a></b><br></th>
    <td>Text content contains a horizontal line through the approximate vertical midpoint.</td></tr>
<tr><th align=left><b class="l3heading"><a href="../stats.htm#w3docs">Official Docs:</a></b><br></th>
    <td><a href="http://www.w3.org/TR/html401/present/graphics.html#h-15.2.1">HTML 4.x</a>, 
        <a href="http://www.w3.org/TR/xhtml-modularization/abstract_modules.html#s_legacymodule">XHTML 1.0</a></td></tr>
</table>
</td></tr>
</table>

<br>
<a name="what"></a>
<dl>
<dt><big><b class="mainheading">What is it?</b></big>
    <dd>These are Physical Style elements that indicate a sequence of
        characters that have a horizontal line striking through the middle. The
        HTML 2 specification had <em>STRIKE</em> as a proposed element which did not
        reach the final specification, but HTML 3 revised the syntax to
        <em>S</em>. The HTML 3.2 recommendation reverted to the earlier syntax, and
        HTML 4.0 includes BOTH usages. Many browsers support one or the
        other, or even both.
</dl>


<a name="attrib"></a>
<dl>
<dt><br><big><b class="mainheading">Common Attributes</b></big>
<dt><b class="subheading">%<a href="../attributes/core.htm">Core</a>%</b>
    <dd>[<span class="ns">2</span>|<b><i class="fs">3</i></b>|<span class="ns">3.2</span>|<b class="s">4</b>] 
        [<b class="s">X1</b>|<span class="ns">X1.1</span>]
        [<b><i class="fs">IE3</i></b>|<span class="ns">M</span>|<b class="s">N4B2</b>|<b class="s">O3.5</b>]

<dt><b class="subheading">%<a href="../attributes/accessibility.htm">Accessibility</a>%</b>
    <dd>[<span class="ns">2</span>|<span class="ns">3</span>|<span class="ns">3.2</span>|<b><i class="fs">4</i></b>] 
        [<b class="s">X1</b>|<span class="ns">X1.1</span>]
        [<b><i class="fs">IE4B1</i></b>|<span class="ns">M</span>|<b class="s">N6</b>|<b class="s">O5</b>]

<dt><b class="subheading">%<a href="../attributes/events.htm">Events</a>%</b>
    <dd>[<span class="ns">2</span>|<span class="ns">3</span>|<span class="ns">3.2</span>|<b><i class="fs">4</i></b>] 
        [<b class="s">X1</b>|<span class="ns">X1.1</span>]
        [<b><i class="fs">IE4B1</i></b>|<span class="ns">M</span>|<b class="s">N6B1</b>|<b class="s">O4</b>]

<dt><b class="subheading">%<a href="../attributes/language.htm">Language</a>%</b>
    <dd>[<span class="ns">2</span>|<b><i class="fs">3</i></b>|<span class="ns">3.2</span>|<b class="s">4</b>]
        [<b class="s">X1</b>|<span class="ns">X1.1</span>]
        [<b><i class="fs">IE4</i></b>|<span class="ns">M</span>|<span class="ns">N</span>|<span class="ns">O</span>]

<dt><b class="subheading">%<a href="../attributes/editing.htm">Editing</a>%</b>
    <dd>[<span class="ns">2</span>|<span class="ns">3</span>|<span class="ns">3.2</span>|<span class="ns">4</span>] 
        [<span class="ns">X1</span>|<span class="ns">X1.1</span>]
        [<b><i class="fs">IE5.5</i></b>|<span class="ns">M</span>|<span class="ns">N</span>|<span class="ns">O</span>]
</dl>


<a name="example"></a>
<dl>
<dt><big><b class="mainheading">Markup example and Tests</b></big>
    <dd><div class="example">&lt;<b class="tagname">strike</b>&gt;strikethrough text&lt;/<b class="tagname">strike</b>&gt;<br>
        &lt;<b class="tagname">s</b>&gt;strikethrough text&lt;/<b class="tagname">s</b>&gt;</div>
    <dd>
        <ul>
            <li><a href="../../../testing/html/tags/s/strike-example.htm" class="testcase">Markup example</a> (STRIKE)
            <li><a href="../../../testing/html/tags/s/s-example.htm" class="testcase">Markup example</a> (S)
            <li><a href="../../../testing/html/tags/s/strike-element-render.htm" class="testcase">Basic element rendering test</a> (STRIKE)
            <li><a href="../../../testing/html/tags/s/s-element-render.htm" class="testcase">Basic element rendering test</a> (S)
            <li><a href="../../../testing/html/tags/s/strike-element-domhtml.htm" class="testcase">DOMHTML test</a> (STRIKE)
            <li><a href="../../../testing/html/tags/s/s-element-domhtml.htm" class="testcase">DOMHTML test</a> (S)
            <li><a href="../../../testing/html/tags/s/strike-element-domcss.htm" class="testcase">DOMCSS test</a> (STRIKE)
            <li><a href="../../../testing/html/tags/s/s-element-domcss.htm" class="testcase">DOMCSS test</a> (S)
        </ul>
</dl>


<a name="model"></a>
<dl>
<dt><big><b class="mainheading">Parent Model</b></big>
    <dd><b class="alert">%<a href="../shorthands.htm#inlineparent">In-line Parent</a>%</b> |
        <b class="alert">%<a href="../shorthands.htm#blockparent">Block Parent</a>%</b>
<dt><big><b class="mainheading">Content Model</b></big>
    <dd><b class="alert">%<a href="../shorthands.htm#inlinecontent">In-line Content</a>%</b>
</dl>


<a name="tips"></a>
<big><b class="mainheading">Tips &amp; Tricks</b></big>
<ul>
     <li><b class="alert">DTD Note:</b> STRIKE was considered a &quot;Proposed Element&quot;
         in some early versions of the 2.0 DTD, but was not listed in the final 2.0
         DTD specification at all. The expired HTML 3.0 draft altered the syntax for
         producing strike-through content to &lt;S&gt;, but the HTML 3.2 recommendation
         returned to the original HTML 2.0 syntax of STRIKE. HTML 4.0 added the
         syntax for <em>BOTH</em> elements.
     <li>Even though HTML 4.0 lists both S and STRIKE, HTML 3.2 only mentions the 
         STRIKE element, so this usage is recommended.
</ul>

<a name="peculiar"></a>
<big><b class="mainheading">Browser Peculiarities</b></big>
<ul>
    <li>There may have been a brief period around Opera 3.5 when the S element
        was not supported, but it definitely supports it from 2.1-3.2, and 3.6 onwards.
</ul>


<br>
<a href="../../../misc/copyright.htm">Boring Copyright Stuff...</a>

</BODY>
</HTML>
